
VPATH=obj/:src/
CFLAGS= -D DEBUG
  

cc = g++
main:	main.o Communication.o
	$(cc) obj/main.o obj/Communication.o -o main $(CFLAGS)

main.o: main.cpp Communication.cpp Communication.h
	$(cc) -c src/main.cpp -o obj/main.o $(CFLAGS)

Communication.o: Communication.cpp Communication.h
	$(cc) -c src/Communication.cpp -o obj/Communication.o $(CFLAGS)

clean:
	rm -f communications obj/*.o
